//
//  XWOtherTableViewController.m
//  CGWSWW
//
//  Created by lanou3g on 16/8/18.
//  Copyright © 2016年 CXG. All rights reserved.
//

#import "XWOtherTableViewController.h"
#import "HeadHelp.h"
@interface XWOtherTableViewController ()

@end

@implementation XWOtherTableViewController

static NSString * ID_1 = @"cell_133";
- (void)viewDidLoad {
    [super viewDidLoad];
    self.tableView.contentInset = UIEdgeInsetsMake(44, 0, 0, 0);
    self.tableView.scrollIndicatorInsets =UIEdgeInsetsMake(44, 0, 0, 0);
    [self.tableView registerClass:[UITableViewCell class] forCellReuseIdentifier:ID_1];
    self.view.backgroundColor =XWCommonColor;

    NSLog(@"%@",self.content);
}

#pragma mark - Table view data source

-(NSInteger)numberOfSectionsInTableView:(UITableView *)tableView{
    return 1;
}

- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section {
    
    return 10;
}
-(CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath{
    return 60;
}

- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
    tableView.separatorStyle =  UITableViewCellSeparatorStyleNone;
    UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:ID_1 forIndexPath:indexPath];
    cell.backgroundColor =XWRandomColor;
    tableView.separatorStyle = UITableViewCellSeparatorStyleNone;//去掉下面的分割线
    
    //    cell.textLabel.text = @"我饿啦";
    
    
    return cell;
}
-(void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath{
    [tableView deselectRowAtIndexPath:indexPath animated:YES];
}

//#pragma mark - Navigation
//
//// In a storyboard-based application, you will often want to do a little preparation before navigation
//- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
//    // Get the new view controller using [segue destinationViewController].
//    // Pass the selected object to the new view controller.
//}
//*/
@end